<?php
/**
 * This static class defines the content types available
 * 
 * @package    gadgets
 * @author     Daniel Botelho <botelho.daniel@gmail.com>
 * @see GadgetRequest::setContentType()
 */
class GadgetContentType
{
  const DEFAULT_CLASS = 'gadgets.io.ContentType';
  
  /**Returns a DOM object; used for fetching XML.*/
  const DOM = 'gadgets.io.ContentType.DOM'; 
  /**Returns a JSON representation of a feed. */
  const FEED = 'gadgets.io.ContentType.FEED';
  /**Returns a JSON object. */
  const JSON = 'gadgets.io.ContentType.JSON';
  /**Returns text; used for fetching HTML.*/
  const TEXT = 'gadgets.io.ContentType.TEXT';
  
}